package org.permission.dao;

import org.permission.pojo.product;

import java.util.List;

public interface productDao {

    public void add(product product);

    public void delete(Integer id);

    public void batchDelete(Integer[] ids);

    public void update(product product);

    public product getById(Integer id);

    public List<product> getAll();

}
